/*
 * config.c
 *
 *  Created on: Mar 15, 2009
 *      Author: rbreznak
 */

#include "config.h"
#include "communicator.h"

/**
 * Initializes various critical features on the robot, one of which is
 * initializing the robot function.  Other modules will not be initialized
 * until a START_ROBOT byte is received.
 *
 * @author Robert Breznak, Peter Kalauskas
 */
void init_system(void) {
	cli();
	sei();

	init_communicator();
	init_dispatcher();

	init_robot();
}
